package com.ice_hufs.medical_in_myhand;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

/**
 * Created by heeyeong on 2014-11-05.
 */
public class Choose_hospital extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN
                , WindowManager.LayoutParams.FLAG_FULLSCREEN);

        setContentView(R.layout.choose_hopital);

        Button univ_hospital_btn = (Button)findViewById(R.id.univ_hospital_btn);
        univ_hospital_btn.setOnClickListener(new View.OnClickListener(){
            public void onClick(View v){
                //Intent my_Intent= new Intent(MainActivity.this, hospital_reservation.class);
                //startActivity(my_Intent);

            }
        });

        Button big_hotel_btn = (Button)findViewById(R.id.big_hotel_btn);
        big_hotel_btn.setOnClickListener(new View.OnClickListener(){
            public void onClick(View v){
                //Intent myIntent= new Intent(getApplicationContext(), hotel_hospital.class);
               // startActivity(myIntent);

            }
        });

        Button plastic_btn = (Button)findViewById(R.id.plastic_btn);
        plastic_btn.setOnClickListener(new View.OnClickListener(){
            public void onClick(View v){
                //Intent myIntent= new Intent(getApplicationContext(), hotel_hospital.class);
               // startActivity(myIntent);

            }
        });

    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        int id = item.getItemId();
        if (id == R.id.action_settings) {
            return true;
        }
        return super.onOptionsItemSelected(item);
    }
}
